moddir = $(libdir)/trayinfo/modules
mod_LTLIBRARIES = acpibatt.la
acpibatt_la_SOURCES = acpibatt.c
acpibatt_la_LDFLAGS = -module
INCLUDES = -I$(top_srcdir)/src

all:
	rm -f ../acpibatt.so
	ln -sf acpibatt/.libs/acpibatt.so ../acpibatt.so
